import * as network from '@/utils/request';
import { feedback } from '../../config/Apis';

export async function getFeedBackList(params: any): Promise<any> {
    return network.post(feedback.feedBackList, {
        data: params,
        requestType: 'form'
    });
}

export async function feedBackReply(params: any): Promise<any> {
    return network.post(feedback.feedBackReply, {
        data: params,
        requestType: 'form'
    });
}

export async function getFeedBackDetail(params: any): Promise<any> {
    return network.post(feedback.feedBackDetail, {
        data: params,
        requestType: 'form'
    });
}

export async function getTodoCount(params: any): Promise<any> {
    return network.post(feedback.todoCount, {
        data: params,
        requestType: 'form'
    });
}